package com.hqyj.shop.service;

import com.hqyj.shop.pojo.Car;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hqyj.shop.util.ResultVo;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author rock
 * @since 2024-10-14 01:58:48
 */
public interface CarService extends IService<Car> {

    /**
     * 添加购物车
     * @param c
     * @return
     */
    ResultVo addCar(Car c, HttpServletRequest request);
    /**
     * 删除购物车
     * @param c
     * @return
     */
    ResultVo delCar(Car c, HttpServletRequest request);
    /**
     * 修改购物车
     * @param c
     * @return
     */
    ResultVo updateCar(Car c, HttpServletRequest request);
    /**
     * 查询购物车
     * @return
     */
    ResultVo queryCar( HttpServletRequest request);



}
